You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Blog Class > Blog Methods > AddBlog
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Blog.AddBlog Method

Adds a blog to the ParentFolderID. Accepts standard blog properties. Returns the ID of the newly created blog. 

This method can be accessed through the blog.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/Blog.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "AddBlog", Description = "")]
public long AddBlog(long ParentFolderID, string BlogName, string BlogTitle, string BlogDescription, Ektron.Cms.Common.EkEnumeration.BlogVisibility Visibility, bool EnableComments, bool ModerateComments, bool RequireAuthentication, string[] Categories, BlogRoll RollLinks);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddBlog", Description = "")>
Public Function AddBlog(ParentFolderID As long, BlogName As string, BlogTitle As string, BlogDescription As string, Visibility As Ektron.Cms.Common.EkEnumeration.BlogVisibility, EnableComments As bool, ModerateComments As bool, RequireAuthentication As bool, Categories As string[], RollLinks As BlogRoll) As long
Parameters 
Description 
ParentFolderID 
 
BlogName 
Name of the Blog
BlogTitle 
Title of the Blog
BlogDescription 
Description of the Blog
Visibility 
Is the blog public/private? 
EnableComments 
Allow commenting. 
ModerateComments 
If commenting is allowed, moderate comments. 
RequireAuthentication 
If commenting is allowed, require authentication to add comment. 
Categories 
String Array representing the categories for this blog. 
RollLinks 
The Blog's roll links. 

The numeric value of the blog ID that is greater than 0.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!